<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Votq</title>
    <%= stylesheet_link_tag 'frontend_style' %>
    <%= javascript_include_tag "jquery-1.3.1","application" %>
  </head>
  <body>
    <%check_view(params)%>
    <div class="header">
      <%= render :partial => 'layouts/menupanel.html.erb' %>Login 
      <% form_tag session_path,:class =>"login_form" do -%>
        <%= text_field_tag 'login',{},:id=>"login_username", :class=>"login-input" %>
        <%= password_field_tag 'password',{},:id=>"login_password", :class=>"login-input"%>
        <%= submit_tag 'Log in',{:class=>"login-button"}  %>
      <% end -%>
    </div>
    <div class="clear c35">&nbsp;</div>
    <div class="content">
      <%=  flash[:login_ss]   %>
      <%=  flash[:logout]   %>
      <%=  flash[:login_err]   %>
      <%= yield :layout %>
    </div>
    <div class="footer">&nbsp;</div>
  </body>
</html>
